package com.zabra.zl.ui.index_fragment.money.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;

import com.zabra.zl.Config;
import com.zabra.zl.R;
import com.zabra.zl.base.BaseFragment;
import com.zabra.zl.ui.allocation_plan.AllocationPlanActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import butterknife.Unbinder;

public class FragmentDay extends BaseFragment {
    @BindView(R.id.img)
    ImageView img;
    Unbinder unbinder;
    @BindView(R.id.tv_apply)
    TextView tvApply;
    Unbinder unbinder1;
    private Bundle bundle = new Bundle();

    @Override
    protected void initView(View view) {
        img.setImageResource(R.mipmap.day);
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_type;
    }


    @OnClick(R.id.tv_apply)
    public void onViewClicked() {
        bundle.putInt("mIndex", Config.DAY);
        toClass(getActivity(), AllocationPlanActivity.class, bundle);
    }
}
